package com.gnerv.battle.boot.framework.service;

import com.gnerv.battle.boot.framework.model.bo.ManageAccountBO;
import com.gnerv.battle.boot.framework.model.dto.ManageAccountDTO;

import java.util.List;

/**
 * @author Gnerv LiGen
 */
public interface ManageAccountService {

    boolean create(ManageAccountBO manageAccountBO);

    boolean deleteByUkId(String ukId);

    boolean updateByUkId(ManageAccountBO manageAccountBO);

    ManageAccountDTO selectByUkId(String ukId);

    List<ManageAccountDTO> listByUsername(String username, Integer page, Integer size);

    long countByUsername(String username);
}
